package com.xinghai.system.service;

import java.util.List;
import com.xinghai.system.domain.XhUseVehicleInfoDetails;

/**
 * 用车信息评论关联Service接口
 * 
 * @author xinghai
 * @date 2024-07-17
 */
public interface IXhUseVehicleInfoDetailsService 
{
    /**
     * 查询用车信息评论关联
     * 
     * @param id 用车信息评论关联主键
     * @return 用车信息评论关联
     */
    public XhUseVehicleInfoDetails getInfo(Long id);

    /**
     * 查询用车信息评论关联
     *
     * @param infoId 用车信息评论关联id
     * @return 用车信息评论关联
     */
    public XhUseVehicleInfoDetails getEntityByInfoId(Long infoId);

    /**
     * 查询用车信息评论关联列表
     * 
     * @param xhUseVehicleInfoDetails 用车信息评论关联
     * @return 用车信息评论关联集合
     */
    public List<XhUseVehicleInfoDetails> list(XhUseVehicleInfoDetails xhUseVehicleInfoDetails);

    /**
     * 新增用车信息评论关联
     * 
     * @param xhUseVehicleInfoDetails 用车信息评论关联
     * @return 结果
     */
    public int insert(XhUseVehicleInfoDetails xhUseVehicleInfoDetails);

    /**
     * 批量新增用车信息评论关联
     *
     * @param xhUseVehicleInfoDetailsList 用车信息评论关联信息集合
     * @return 结果
     */
    public int insertBatch(List<XhUseVehicleInfoDetails> xhUseVehicleInfoDetailsList);

    /**
     * 修改用车信息评论关联
     * 
     * @param xhUseVehicleInfoDetails 用车信息评论关联
     * @return 结果
     */
    public int update(XhUseVehicleInfoDetails xhUseVehicleInfoDetails);

    /**
     * 批量删除用车信息评论关联
     * 
     * @param ids 需要删除的用车信息评论关联主键集合
     * @return 结果
     */
    public int deleteBatch(Long[] ids);

    /**
     * 删除用车信息评论关联信息
     * 
     * @param id 用车信息评论关联主键
     * @return 结果
     */
    public int delete(Long id);

    /**
     * 导入用车信息评论关联信息
     *
     * @param xhUseVehicleInfoDetailsList 用车信息评论关联信息集合
     * @return 结果
     */
    public boolean importData(List<XhUseVehicleInfoDetails> xhUseVehicleInfoDetails);
}
